package com.wuseguang.springcloud.service;

import com.wuseguang.springcloud.util.Result;

import java.util.List;
import java.util.Map;

public interface StudentVacationService {


    List<Map<String, Object>> queryStudentVacationById(Integer id);

    //0 待审核 (1第一审核通过 2通过) 3第一审核人拒绝 4销假中 5已销假 6第二审核人未通过
    Result updateStudentVacationState(Integer id, Integer state);

    Map<String, Object> queryHeadMaster(Integer classId);

    long delStudentVacation(Integer id);

    long addStudentVacation(Integer id, Integer school_id, String stime, String etime, String content, Integer type);

    Result queryClassNotice(Integer classId, Integer indexNo, Integer rows);

    Result queryClassPicturesAll(Integer classId, Integer indexNo, Integer rows);

    Result queryClassVideosAll(Integer classId, Integer indexNo, Integer rows);

    Result queryStudentAchievement(Integer id);
}
